﻿using System;
using System.Collections.Generic;

namespace rbrock_DAL
{
    /// <summary>
    /// 
    /// </summary>
    public static class DataAccessObject
    {
        /// <summary>
        /// Gets the list.
        /// </summary>
        /// <typeparam name="TEntity">The type of the entity.</typeparam>
        /// <returns></returns>
        public static List<TEntity> GetList<TEntity>() where TEntity : class 
        {
            List<TEntity> _List = new List<TEntity>();
            _List.Add(Activator.CreateInstance<TEntity>());
            _List.Add(Activator.CreateInstance<TEntity>());
            _List.Add(Activator.CreateInstance<TEntity>());
            return _List;
        }
    }
}
